package com.bonc.rms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.bonc.odk.logmanager.Log4jTraceParameters;
import com.bonc.odk.logmanager.LogManager;

/**
 * @ClassName StartUp
 * @Package com.bonc.rms
 * @Description TODO
 * @author Li Kai e-mail:likai@bonc.com.cn
 * @date 2016年9月29日 下午4:13:16
 */
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement
@MapperScan("com.bonc.rms.mapper")
public class Startup {
	public static void main(String[] args) {
		SpringApplication.run(Startup.class, args);
		LogManager.init(new Log4jTraceParameters("jobserverweb", Startup.class.getResource("/").getPath()));
	}
}
